package parser;

import antlr.RecognitionException;

class ContinueStmt extends Stmt {

    LoopStmt loop;

    ContinueStmt(LoopStmt loop) {
        this.loop = loop;
    }

    void write(ByteStream out) throws RecognitionException {
        out.line(line);
        loop._continue(out.branch(Opcodes.CONTINUE));
    }

}

